import http from '@/utils/http'


export const userReg = (data)=>{ //注册
    return http.post('/list/',data)
}

export const userLogin = (data)=>{ //查找
    return http.get('/list/userlist',{
       params:data
    })
}

export const addressInfo = (data)=>{ //查找地址
    return http.get('/list/address',{
       params:data
    })
}


// export const  Edit= (id,obj)=>{ //修改
//     return http.post('/list/Edit',{id,obj})
// }